package com.pmcc.cj.repository;

import com.pmcc.cj.entity.CjFarm;
import com.pmcc.cj.entity.CjOrder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by yaonan on 2020/10/13.
 */
public interface CjFarmRepository extends JpaRepository<CjFarm,String> {
    Page<CjFarm> findAll(Specification<CjFarm> spec, Pageable var1);
    CjFarm findByEmployeeId(String employeeId);
}
